﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MVC_Project.Api.Models.ManageGoods
{
    public class EditGood
    {
        public int id { get; set; }
        public int tid { get; set; }
        public string images { get; set; }
        public string name { get; set; }
        public string content { get; set; }

        public int sales { get; set; }

        public string typename { get; set; }

        public decimal price { get; set; }
        public string unit { get; set; }
        public bool use_property { get; set; }
        public IEnumerable<EditValue> property { get; set; }
    }

    public class EditValue
    {
        public int id { get; set; }
        public int gskid { get; set; }

        public string name { get; set; }

        public bool check { get; set; }
        public IEnumerable<string> values { get; set; }
    }
}